package com.sz.admin.chatmessage.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * ChatMessage添加DTO
 * </p>
 *
 * @author sz-admin
 * @since 2025-06-30
 */
@Data
@Schema(description = "ChatMessage添加DTO")
public class ChatMessageCreateDTO {

   @Schema(description =  "发送者ID")
   private String senderId;

   @Schema(description =  "接收者ID")
   private String receiverId;

   @Schema(description =  "消息类型: 0=文本 1=图片")
   private Integer messageType;

   @Schema(description =  "消息内容（文本内容或图片URL）")
   private String content;

   @Schema(description =  "图片存储位置（仅当消息类型为图片时使用）")
   private String imagePath;

   @Schema(description =  "创建时间 (格式: yy-mm-dd:hh-mm-ss)")
   private String createdAt;

   @Schema(description =  "更新时间 (格式: yy-mm-dd:hh-mm-ss)")
   private String updatedAt;

   @Schema(description =  "")
   private Integer isDeleted;

}